package com.hankol.community.bean

import android.annotation.SuppressLint
import com.baselibrary.base.BasicBean
import kotlinx.android.parcel.Parcelize
import kotlinx.android.parcel.RawValue

//专栏详情
@SuppressLint("ParcelCreator")
@Parcelize
data class ColumnDetailBean(
        val articleNum: Int,
        val desc: String,
        val favoriteNum: Int,
        val favoriteUserIconList: List<String>,
        var favorited: Int,//点过收藏,0-否，1-是
        val id: Long,
        val infoCover: String,
        val listCover: String,
        val name: String
) : BasicBean()

@SuppressLint("ParcelCreator")
@Parcelize
data class ArticleBean(
        val addressUrl: String,
        val atlasEntitieList: @RawValue List<Any>,
        val boutique: Int,
        val browse: Boolean,
        val channel: ChannelBean,
        val characteristicId: Int,
        val characteristicStr: Boolean,
        val checkUserName: String,
        val cid: Int,
        val cityId: Int,
        val collectionNum: Int,
        val commentNum: Int,
        val content: String,
        val contentImg: List<String>,
        val cover: List<String>,
        val ctime: Long,
        val districtId: Int,
        val favorite: Boolean,
        val id: Int,
        val isChannel: Int,
        val labelIds: @RawValue List<Any>,
        val labelName: @RawValue List<Any>,
        val lastUpdateTime: Long,
        val originalNewsTime: String,
        val originalNewsTimeStamp: Int,
        val praiseNum: Int,
        val provinceId: Int,
        val publishStatus: Int,
        val publishTime: Int,
        val readNum: Int,
        val readNumberSetUp: Int,
        val rids: @RawValue List<Any>,
        val searchWord: String,
        val share: Int,
        val shareNum: Int,
        val sole: Int,
        val sort: Long,
        val source: Int,
        val sourceUrlName: String,
        val status: Int,
        val support: Boolean,
        val title: String,
        val top: Int,
        val type: Int,
        val uid: Int,
        val userIcon: String,
        val userName: String,
        val utime: Long,
        val videoUrl: String,
        val watermark: Int,
        val wid: Int
) : BasicBean()

@SuppressLint("ParcelCreator")
@Parcelize
data class ChannelBean(
        val articleNum: Int,
        val authors: List<Int>,
        val commentNum: Int,
        val ctime: Long,
        val desc: String,
        val favoriteNum: Int,
        val id: Int,
        val infoCover: String,
        val listCover: String,
        val name: String,
        val sort: Long,
        val status: Int,
        val utime: Long
) : BasicBean()